win32: Remove unused functions / header includes
authorBenjamin Otte <otte@gnome.org>
Mon, 8 Feb 2016 01:26:07 +0000 (02:26 +0100)
committerBenjamin Otte <otte@redhat.com>
Thu, 11 Feb 2016 02:44:48 +0000 (03:44 +0100)
gtk/deprecated/gtkstyleproperties.c
gtk/gtkcssstylepropertyimpl.c
gtk/gtksettings.c
gtk/gtkwin32theme.c
gtk/gtkwin32themeprivate.h

index 7e0cc3858f89999b318518b5566115fbd78eec84..c13232930084bad892725fe21c40eb677a788faf 100644 (file)
@@ -32,7 +32,6 @@
 #include "gtkstylepropertyprivate.h"
 #include "gtkstyleproviderprivate.h"
 #include "gtkintl.h"
-#include "gtkwin32themeprivate.h"
 
 #include "deprecated/gtkthemingengine.h"
 #include "deprecated/gtkgradient.h"
index 6cd36c8da7d35248bb85bd5762d778ec621aac1e..cee8e27c263ae1fbf22d5d8e1bad38defd23e62d 100644 (file)
@@ -61,7 +61,6 @@
 #include "gtkcssstringvalueprivate.h"
 #include "gtkcsstransformvalueprivate.h"
 #include "gtktypebuiltins.h"
-#include "gtkwin32themeprivate.h"
 
 #include "deprecated/gtkthemingengine.h"
 
index 7560fa92666884b45aaae2566dd52648a9ae6601..7c9a0656617baa675c481c60976a790b47113235 100644 (file)
 #include "win32/gdkwin32.h"
 #endif
 
-#ifdef G_OS_WIN32
-#include "gtkwin32themeprivate.h"
-#endif
-
 #include "deprecated/gtkrc.h"
 
 #ifdef GDK_WINDOWING_QUARTZ
index 9b20a76f453e74b82f4f0a7881ec092637bb6368..c868b25410970b068712539e392c5e25c258eba5 100644 (file)
@@ -410,15 +410,3 @@ _gtk_win32_theme_color_resolve (const char *theme_class,
   return TRUE;
 }
 
-const char *
-_gtk_win32_theme_get_default (void)
-{
-#ifdef G_OS_WIN32
-  _gtk_win32_theme_init ();
-  
-  if (use_xp_theme)
-    return (os_version.dwMajorVersion >= 6) ? "gtk-win32" : "gtk-win32-xp";
-#endif
-  return "gtk-win32-classic";
-}
-
index aa64da5bcca6f0b15e6e824e2a77207fc4a21a53..90fcac9ddc682f2bbaf0d59df06c331ea5f19914 100644 (file)
@@ -53,7 +53,6 @@ int                _gtk_win32_theme_int_parse     (GtkCssParser      *parser,
 gboolean           _gtk_win32_theme_color_resolve (const char        *theme_class,
                                                   gint               id,
                                                   GdkRGBA           *color);
-const char *      _gtk_win32_theme_get_default    (void);
 
 G_END_DECLS